﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HostLibrary.Hosts;

namespace ConsoleTcpServer
{
    class Program
    {
        static void Main(string[] args)
        {
            TcpHost host = new TcpHost();

            host.Start();

            while (Console.ReadKey(true).Key != ConsoleKey.Escape);

            host.Stop();
        }
    }
}
